//
//  NutritionAndHealthListModel.swift
//  YLH
//
//  Created by qinjiangtao on 2024/1/20.
//

import UIKit

class NutritionAndHealthListModel: NSObject {

}

struct NutritionAndHealthModel: Convertible {
    var health_id = ""
    var list = [FoodModel]()
}

/// 预测模型
//struct NutritionAndHealthPredictModel: Convertible {
//    var Top10_Prediction_Result_Nutritions = [FoodModel]()
//    var Top10_Prediction_Result = Top10_Prediction_ResultModel()
//    
//}

/// 实物模型
struct FoodModel: Convertible {
    var health_id = ""
    var name = ""
    var calcium = ""
    var carbohydrates = ""
    var cholesterol = ""
    var copper = ""
    var dietary_fiber = ""
    var energy = ""
    var fat = ""
    var iron = ""
    var magnesium = ""
    var manganese = ""
    var phosphorus = ""
    var potassium = ""
    var protein = ""
    var saturated = ""
    var sodium = ""
    var sugar = ""
    var trans_fat = ""
    var vitamin = ""
    var zinc = ""
    var pro = ""
    var createtime = ""
    var update_time = ""
    var id = ""
    /// g
    var weight = ""
    /// ml
    var capacity = ""
    /// 手掌大小
    var palm_size = ""
    /// 食物重量/容量/大小
    var button_on_or_off = ""
}


//struct Top10_Prediction_ResultModel: Convertible {
//    var name = [String]()
//    var pro = [String]()
//}
